package com.example.sql_2_code_demo.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 用于订单合并支付，多个订单id排序后计算得出的hash(OrderCombineTransaction)实体类
 *
 * @author makejava
 * @since 2022-10-09 10:01:36
 */
public class OrderCombineTransaction implements Serializable {
    private static final long serialVersionUID = 198575881422823617L;
    /**
     * 主键id
     */
    private Long id;
    /**
     * 根据多个订单id使用排序之后，计算得出的hash值
     */
    private Long mergeOrderIdHashCode;
    /**
     * 订单id
     */
    private Long orderId;
    /**
     * 租户ID
     */
    private String tenantId;
    /**
     * 创建人
     */
    private Long createUser;
    /**
     * 创建部门
     */
    private Long createDept;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改人
     */
    private Long updateUser;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 是否已删除
     */
    private Integer isDeleted;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 此订单支付时使用的是哪一个支付设置id
     */
    private Long paySettingId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMergeOrderIdHashCode() {
        return mergeOrderIdHashCode;
    }

    public void setMergeOrderIdHashCode(Long mergeOrderIdHashCode) {
        this.mergeOrderIdHashCode = mergeOrderIdHashCode;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getCreateDept() {
        return createDept;
    }

    public void setCreateDept(Long createDept) {
        this.createDept = createDept;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Long getPaySettingId() {
        return paySettingId;
    }

    public void setPaySettingId(Long paySettingId) {
        this.paySettingId = paySettingId;
    }

}

